]> dgit.raspbian.org Git - gnome-shell.git/commit
network: properly remove connections from list
authorRyan Lortie <desrt@desrt.ca>
Sun, 16 Nov 2014 23:50:14 +0000 (15:50 -0800)
committerRyan Lortie <desrt@desrt.ca>
Sun, 16 Nov 2014 23:53:54 +0000 (15:53 -0800)
commit3d4408dce810f3b6995ed2acf28b61bed48c1dac
tree8e5760f704cdd24bdbae32f1ed21d29f80ff18fb
parentea707dcd75ce108b26e86b7fa25ccaf60439b640
network: properly remove connections from list

Due to a typo we were always removing the first (index 0) connection
from the global list of connections instead of the correct one.

This resulted in some connections remaining in the shell's connection
list long after they were removed.  In particular, this resulted in
multiple copies of a bluetooth connection appearing after suspend/resume
(when the device was readded and the cached connection list was
rescanned).

https://bugzilla.gnome.org/show_bug.cgi?id=740227
js/ui/status/network.js